package com.jic.interaction.ChinaPost.model.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DamageRecallRequest {
    //平台编号
    @ApiModelProperty(notes = "平台编号")
    @NotBlank(message = "平台编码不能为空")
    private String appId;

    @ApiModelProperty(notes = "用户编号")
    @NotBlank(message = "用户编号不能为空")
    private String userId;

    @ApiModelProperty(notes = "撤销支付订单号，全局唯一（交易流水号）")
    @NotBlank(message = "撤销支付订单号不能为空")
    private String orderNo;

    @ApiModelProperty(notes = "原支付订单号（交易流水号）")
    @NotBlank(message = "原支付订单号v不能为空")
    private String orgOrderNo;

    @ApiModelProperty(notes = "交易时间，格式：yyyyMMddHHmmss")
    @NotBlank(message = "交易时间不能为空")
    private String txnTime;

    @ApiModelProperty(notes = "退款金额，保留两位小数")
    @NotBlank(message = "退款金额不能为空")
    private String Refund_amount;
}
